<template>
  <div>
    <div>
      <h4>疼痛VAS评分</h4>
      <el-row>
        <span>疼痛VAS评分 </span>
        <el-select v-model="pgForm.pain_vas_score_value1" placeholder="请选择">
          <el-option
            v-for="item in optionsVAS"
            :key="item.value"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "pain_vas_score",
  title: "疼痛VAS评分",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm: {
        pain_vas_score_value1: ''

      },
      optionsVAS: [{
        value: '0',
        label: '0'
      }, {
        value: '1',
        label: '1'
      }, {
        value: '2',
        label: '2'
      }, {
        value: '3',
        label: '3'
      }, {
        value: '4',
        label: '4'
      }, {
        value: '5',
        label: '5'
      }, {
        value: '6',
        label: '6'
      }, {
        value: '7',
        label: '7'
      }, {
        value: '8',
        label: '8'
      }, {
        value: '9',
        label: '9'
      }, {
        value: '10',
        label: '10'
      }],

    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}
</style>
